package com.code.config;

import io.netty.channel.group.ChannelGroup;
import io.netty.channel.group.DefaultChannelGroup;
import io.netty.util.concurrent.GlobalEventExecutor;

/**
 * Netty配置类
 * 存储整个工程的全局配置
 * @author ww
 * @date 2019/2/16
 */
public class NettyConfig {
    /** 存储每一个客户端接入进来时的channel对象 */
    public static ChannelGroup group = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);
}
